/* 通配符选择器不好 因为标签很多会选择所有的 性能不好 */
/* * {
  margin: 0;
  padding: 0;
} */
.game {
  position: relative;
  width: 100%;
  height: 600px;
  background-image: url('../images/sky.png');
  /* 只要图片x位置不断变化就能一直移动 */
  /* 可以用动画 和js 因为速度会变快所以用js */
  background-position-x: 0px;
  background-color: rgb(100, 148, 190);
}
.bird {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 235px;
  width: 30px;
  height: 30px;
  /* 让鸟飞起来 跟背景图一样的逻辑 */
  background-image: url('../images/birds.png');
  transition: top .3s linear;
}
.start {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 290px;
  width: 200px;
  height: 60px;
  font-weight: 800;
  text-align: center;
  line-height: 60px;
  background-color: aqua;
  transition: all .3s linear;
  cursor: pointer;
}
 .start-white {
  color: #fff;
  font-size: 24px;
}
 .start-blue {
  color: #09f;
  font-size: 36px;
}
.score {
  position: absolute;
  z-index: 99;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-weight: 600px;
  display: none;
  cursor: pointer;
}
.mask {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: black;
  opacity: .7;
  display: none;
}
.desc {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 70px;
  transform: translateX(-50%);
  text-align: center;
  display: none;
}
.desc_over {
  font-size: 36px;
  font-weight: 800px;
  color: red;
}
.desc_res, .desc_score {
  margin-top: 20px;
  color: yellow;
  font-size: 20px;
  font-weight: 600px;
}
.list  {
  margin-top: 20px;
  color: #09f;
}
.list .list_item {
  height: 30px;
  line-height: 36px;
  margin-bottom: 10px;
  font-size: 14px;
}
.list .list_item .item_degree {
 /*  //margin-right: 10px; */
  display: inline-block;
 /*  //vertical-align: middle; */
  width: 14px;
  height: 14px;
  line-height: 14px;
  color: #fff;
  background-color: aqua;
}
.list .list_item .first {
  background-color: red;
}
.list .list_item .second {
  background-color: rgb(226, 96, 96);
}
.list .list_item .third {
  background-color: rgb(219, 163, 163);
}
.list .list_item .item_score {
  display: inline-block;
  width: 30px;
}
.desc_restart {
  color: #09f;
  font-size: 18px;
  font-weight: 600px;
  cursor: pointer;
}
.pipe {
  position: absolute;
  width: 52px;
}
.pipe_up {
  top: 0;
  background-image: url('../images/pipe2.png');
  background-position-y: bottom;
}
.pipe_down {
  bottom: 0;
  background-image: url('../images/pipe1.png');
  background-position-y: top;
}